import Vue from 'vue';
import 'normalize.css/normalize.css';// A modern alternative to CSS resets
import ElementUI from 'element-ui';
import '@/styles/index.scss'; // global css
import '@/assets/iconfont/iconfont.css'; // iconfont css

import router from './router';
import store from './store';
import iconFont from '@/components/iconFont.vue';
import '@/permission'; // permission control

import pageRight from '@/components/page.right.vue';

Vue.use(ElementUI);
Vue.component('icon-font', iconFont);
Vue.component('page-right', pageRight);

Vue.config.productionTip = false;
new Vue({
  template: '<router-view id="app" class="app-content-view"></router-view>',
  router,
  store,
  mounted() {

  }
}).$mount('#app');
